package com.mskj.zxmy.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "报工信息")
public class ReportInfo implements Serializable {

    @Schema(description = "工序任务ID")
    private Integer processTaskId;

    @Schema(description = "报工单号")
    private String bgNo;

    @Schema(description = "任务编号")
    private String rwNo;

    @Schema(description = "工序任务编号")
    private String processTaskNo;

    @Schema(description = "工序名称")
    private String processName;

    @Schema(description = "产品ID")
    private Integer productId;

    @Schema(description = "产品名称")
    private String productName;

    @Schema(description = "任务总数量")
    private BigDecimal taskCount;

    @Schema(description = "已完成数量")
    private BigDecimal finishCount;

    @Schema(description = "报工时间")
    private LocalDateTime reportTime;

    @Schema(description = "批次编码")
    private String batchCode;

    @Schema(description = "报工数量")
    private BigDecimal reportCount;

    @Schema(description = "质检数量")
    private BigDecimal zjCount;

    @Schema(description = "是否质检标记 | true 可以编辑质检数量|false 默认为0")
    private boolean zjFlag;

    @Schema(description = "是否入库标记 | true 显示入库按钮")
    private boolean rkFlag;

    @JsonIgnore
    private String signInStrList;

    @Schema(description = "签到人员列表")
    private String empNames;

}
